import request from '@/utils/request'

//列表查询
export const getRrefundrecordList = (data) => {
  return request({
    url: 'japi/agent/getagentlist',
    method: 'post',
    data: data
  })
}

export function updateGatebarrierinfo(data) {
    return request({
        url: 'japi/gatebarrierpassrule/updategatebarrierinfo',
        method: 'post',
        data: data
    })
}

export function deleteGatebarrierinfo(data) {
    return request({
        url: 'japi/gatebarrierpassrule/deletegatebarrierinfo',
        method: 'post',
        data: data
    })
}

//道闸设备
export function getGateBarrierinfolist(data) {
    return request({
        url: 'japi/gatebarrierinfo/getgatebarrierinfolist',
        method: 'post',
        data: data
    })
}
export function addGateBarrierinfo(data) {
    return request({
        url: 'japi/gatebarrierinfo/addgatebarrierinfo',
        method: 'post',
        data: data
    })
}
export function updateGateBarrierinfo(data) {
    return request({
        url: 'japi/gatebarrierinfo/updategatebarrierinfo',
        method: 'post',
        data: data
    })
}
export function deleteGateBarrierinfo(data) {
    return request({
        url: 'japi/gatebarrierinfo/deletegatebarrierinfo',
        method: 'post',
        data: data
    })
}

export function getgatebarrierpassloglist(data) {
  return request({
    url: 'japi/gatebarrierpasslog/getgatebarrierpassloglist',
    method: 'post',
    data: data
  })
}
